

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Model Intermediate Event [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, BPEL,BPEL Intermediate Event, Model,Intermediate Event, BPEL,Intermediate Event, BPEL Model,Intermediate Event, BPEL Types,Intermediate Event, BPEL Create,BPMN 1.1,BPMN 1.1 Intermediate Event, Types,Create,Create Intermediate Event, BPEL,Trigger,Trigger Intermediate Event, BPEL">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Model Intermediate Event</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="model_end_event.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="model_gateway.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">An </span><span class="f_BodyText" style="font-style: italic;">Intermediate Event</span><span class="f_BodyText"> indicates where an event occurs somewhere between the start and end of a process. </span></p>
<p class="p_BodyText"><span class="f_BodyText">The </span><span class="f_BodyText" style="font-style: italic;">OMG BPMN 1.1 Specification</span><span class="f_BodyText"> defines ten types of Intermediate Event (or Trigger). These are:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">None</span></li>
<li><span class="f_Bulletlist1">Message</span></li>
<li><span class="f_Bulletlist1">Timer</span></li>
<li><span class="f_Bulletlist1">Error</span></li>
<li><span class="f_Bulletlist1">Cancel</span></li>
<li><span class="f_Bulletlist1">Compensation</span></li>
<li><span class="f_Bulletlist1">Conditional</span></li>
<li><span class="f_Bulletlist1">Link</span></li>
<li><span class="f_Bulletlist1">Signal</span></li>
<li><span class="f_Bulletlist1">Multiple</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">In Enterprise Architect, six of these Trigger types can be mapped to BPEL.</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Message</span></li>
<li><span class="f_Bulletlist1">Timer</span></li>
<li><span class="f_Bulletlist1">Error</span></li>
<li><span class="f_Bulletlist1">Compensation</span></li>
<li><span class="f_Bulletlist1">Conditional</span></li>
<li><span class="f_Bulletlist1">Link (but not if the Intermediate Event is edge-mounted on an Activity).</span></li>
</ul>
<p style="margin: 0px 0px 0px 0px;"><span style="font-size: 12pt; font-family: 'Times New Roman'; color: #000000;">&nbsp;</span></p>
<p style="margin: 0px 0px 0px 0px;"><span class="f_BodyText">To create a new Intermediate Event in your model, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Open a BPEL diagram <a href="model_a_bpel_process.htm">created under a BPEL Process</a>.</span></li>
<li value=2><span class="f_NumberedList">Drag the </span><span class="f_NumberedList" style="font-style: italic;">Intermediate Event</span><span class="f_NumberedList"> element from the </span><span class="f_UIControl">BPMN 1.1 Core</span><span class="f_NumberedList"> page of the </span><span class="f_UIControl">Toolbox</span><span class="f_NumberedList"> onto the diagram. A prompt displays to select either an </span><span class="f_NumberedList" style="font-style: italic;">edge-mounted</span><span class="f_NumberedList"> event (on an element border) or a </span><span class="f_NumberedList" style="font-style: italic;">standalone</span><span class="f_NumberedList"> event.</span></li>
<li value=3><span class="f_NumberedList">Click on either option. The BPEL </span><span class="f_UIControl">Properties</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="intermeventdlg.png" width="303" height="336" border="0" alt="IntermEventDlg"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=4><span class="f_NumberedList">In the </span><span class="f_MenuKeyField">Name</span><span class="f_NumberedList"> field, type a name for the Event.</span></li>
<li value=5><span class="f_NumberedList">Click on the drop-down arrow in the </span><span class="f_MenuKeyField">Trigger Type</span><span class="f_NumberedList"> field and select the required type.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">Depending on the trigger type you select, further details might be required.</span></p>
<p class="p_BodyText"><span class="f_BodyText">If you select </span><span class="f_BodyText" style="font-weight: bold;">Message</span><span class="f_BodyText">:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">To the right of the </span><span class="f_MenuKeyField">Web Service</span><span class="f_NumberedList"> field, click on the </span><span class="f_MenuKeyField">[ ... ] </span><span class="f_NumberedList">button and select a <a href="bpel_web_service.htm">BPEL web service</a> from the list.</span></li>
<li value=7><span class="f_NumberedList">To the right of the </span><span class="f_MenuKeyField">Message</span><span class="f_NumberedList"> field, click on the </span><span class="f_MenuKeyField">[ ... ] </span><span class="f_NumberedList">button and select a message from the list of all messages in the selected web service.</span></li>
<li value=8><span class="f_NumberedList">Go to step 11.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">If you select </span><span class="f_MenuKeyField">Error</span><span class="f_BodyText">:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">The </span><span class="f_UIControl">Details</span><span class="f_NumberedList"> tab changes, as below.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="intermediateerrordlg.png" width="285" height="168" border="0" alt="IntermediateErrorDlg"></li>
</ol>
<p class="p_NumberedList"><span class="f_NumberedList">&nbsp;</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=7><span class="f_NumberedList">In the </span><span class="f_MenuKeyField">Error Code</span><span class="f_NumberedList"> field, type the required error code.</span></li>
<li value=8><span class="f_NumberedList">Go to step 11.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">If you select </span><span class="f_MenuKeyField">Compensation</span><span class="f_BodyText">:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">The </span><span class="f_UIControl">Details</span><span class="f_NumberedList"> tab changes, as below.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="intermediatecompdlg.png" width="289" height="167" border="0" alt="IntermediateCompDlg"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=7><span class="f_NumberedList">To the right of the </span><span class="f_MenuKeyField">Activity</span><span class="f_NumberedList"> field, click on the </span><span class="f_MenuKeyField">[ ... ] </span><span class="f_NumberedList">button and select an Activity from the list of all Activities in the process.</span></li>
</ol>
<div style="text-align: left; text-indent: -21px; padding: 0px 0px 0px 0px; margin: 5px 0px 0px 48px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="955" bgcolor="#efeff7" style="width:955px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="955" bgcolor="#f7f7ff" style="width:955px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">If the Compensation Intermediate Event is edge-mounted on an Activity, create a BPMN 1.1 Association connector from this Intermediate Event Activity to a Compensation Activity. Ensure that the </span><span class="f_TiporNoteText" style="font-style: italic;">IsCompensation</span><span class="f_TiporNoteText"> tag for the Activity is set to </span><span class="f_TiporNoteText" style="font-weight: bold;">true</span><span class="f_TiporNoteText">.</span></p>
</td>
</tr>
</table>
</div>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=8><span class="f_NumberedList">Go to step 11.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">If you select </span><span class="f_MenuKeyField">Timer</span><span class="f_BodyText">:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">The </span><span class="f_UIControl">Details</span><span class="f_NumberedList"> tab changes, as below:</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="intermediatetimerdlg.png" width="287" height="166" border="0" alt="IntermediateTimerDlg"></li>
</ol>
<p class="p_NumberedList"><span class="f_NumberedList">&nbsp;</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=7><span class="f_NumberedList">In the </span><span class="f_MenuKeyField">Time Cycle</span><span class="f_NumberedList"> field, type the value of the time cycle.</span></li>
<li value=8><span class="f_NumberedList">The </span><span class="f_MenuKeyField">Time Date </span><span class="f_NumberedList">field defaults to today's date. If it is necessary to change the date, click on the drop-down arrow and select a new date from the calendar.</span></li>
<li value=9><span class="f_NumberedList">Go to step 11.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">If you select </span><span class="f_MenuKeyField">Conditional</span><span class="f_BodyText">:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">The </span><span class="f_UIControl">Details</span><span class="f_NumberedList"> tab changes, as below.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="start%20event%20cond%20dlg.png" width="279" height="164" border="0" alt="Start Event Cond Dlg"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=7><span class="f_NumberedList">To the right of the </span><span class="f_MenuKeyField">Condition</span><span class="f_NumberedList"> field, click on the </span><span class="f_MenuKeyField">[ ... ] </span><span class="f_NumberedList">button and select an element from the list of Condition elements created in the <a href="create_a_bpel_model.htm">Supporting Elements package</a>.</span></li>
<li value=8><span class="f_NumberedList">Go to step 11.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">If you select </span><span class="f_MenuKeyField">Link</span><span class="f_BodyText">:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=6><span class="f_NumberedList">The </span><span class="f_UIControl">Details</span><span class="f_NumberedList"> tab changes, as below.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="intermediatelinkdlg.png" width="287" height="168" border="0" alt="IntermediateLinkDlg"><br>
<span class="f_NumberedList">&nbsp;</span></li>
</ol>
<div style="text-align: left; text-indent: -21px; padding: 0px 0px 0px 0px; margin: 5px 0px 0px 48px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="955" bgcolor="#efeff7" style="width:955px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="955" bgcolor="#f7f7ff" style="width:955px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">A Link Intermediate Event can be used as either a </span><span class="f_TiporNoteText" style="font-style: italic;">GoTo</span><span class="f_TiporNoteText"> or an </span><span class="f_TiporNoteText" style="font-style: italic;">Off-page</span><span class="f_TiporNoteText"> connector. Therefore this Event can have either incoming or outgoing Sequence Flows, but not both.</span></p>
</td>
</tr>
</table>
</div>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=7><span class="f_NumberedList">Close the dialog, and drag a Sequence Flow connector from the </span><span class="f_UIControl">Toolbox</span><span class="f_NumberedList"> to create a connector either from or to the appropriate Activity element.</span></li>
<li value=8><span class="f_NumberedList">If you have created an outgoing Sequence Flow </span><span class="f_NumberedList" style="font-style: italic;">from</span><span class="f_NumberedList"> the Event</span><span class="f_NumberedList" style="font-style: italic;"> to</span><span class="f_NumberedList"> an Activity, no further details are required.</span></li>
</ol>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=9><span class="f_NumberedList">If you have created an incoming Sequence Flow </span><span class="f_NumberedList" style="font-style: italic;">to</span><span class="f_NumberedList"> the Event </span><span class="f_NumberedList" style="font-style: italic;">from</span><span class="f_NumberedList"> an Activity, right-click on the Event and select the </span><span class="f_MenuKeyField">BPEL | BPEL Properties</span><span class="f_NumberedList"> context menu option. The BPEL dialog redisplays as shown below:</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="inteventlink.png" width="287" height="168" border="0" alt="IntEventLink"></li>
</ol>
<p class="p_NumberedList"><span class="f_NumberedList">&nbsp;</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=10><span class="f_NumberedList">To the right of the </span><span class="f_NumberedList" style="font-weight: bold;">Link Event</span><span class="f_NumberedList"> field, click on the </span><span class="f_MenuKeyField">[ ... ] </span><span class="f_NumberedList">button and select the target Link Intermediate Event from the list.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText" style="font-weight: bold;">&nbsp;</span></p>
<p class="p_BodyText"><span class="f_BodyText" style="font-weight: bold;">Resume the procedure:</span></p>
<div style="text-align: left; text-indent: -21px; padding: 0px 0px 0px 0px; margin: 5px 0px 0px 48px;"><table cellspacing="0" cellpadding="2" border="0" style="border: none; border-spacing:0px;">
<tr style="text-align:left;vertical-align:bottom;">
<td valign="bottom" width="955" bgcolor="#efeff7" style="width:955px; background-color:#efeff7;"><p class="p_TiporNote" style="border-top: none; border-right: none; border-left: none;"><span class="f_TiporNote">Note:</span></p>
</td>
</tr>
<tr style="text-align:left;">
<td width="955" bgcolor="#f7f7ff" style="width:955px; background-color:#f7f7ff;"><p class="p_TiporNoteText"><span class="f_TiporNoteText">Click on the </span><span class="f_MenuKeyField">UML</span><span class="f_TiporNoteText"> button if you need to define further properties of the Intermediate Event, using the normal element </span><span class="f_UIControl"><a href="objectproperties.htm">Properties</a></span><span class="f_TiporNoteText"> dialog.</span></p>
<p class="p_TiporNoteText"><span class="f_TiporNoteText">Alternatively, right-click on the element and select the </span><span class="f_MenuKeyField">Properties</span><span class="f_TiporNoteText"> context menu option. </span></p>
</td>
</tr>
</table>
</div>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=11><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">OK </span><span class="f_NumberedList">button to close the dialog.</span></li>
</ol>
<p class="p_BodyText"><span class="f_BodyText">&nbsp;</span></p>
<p class="p_BodyText"><span class="f_BodyText">To return to the BPEL </span><span class="f_UIControl">Properties</span><span class="f_BodyText"> dialog for subsequent editing:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">Double-click on the element in the diagram or </span><span class="f_UIControl">Project Browser</span><span class="f_Bulletlist1"> (the </span><span class="f_MenuKeyField"><a href="generalsettings.htm">Shows Properties</a></span><span class="f_Bulletlist1"> option must be selected in the </span><span class="f_UIControl">Double click on browser</span><span class="f_Bulletlist1"> panel of the </span><span class="f_UIControl">Options</span><span class="f_Bulletlist1"> dialog) or</span></li>
<li><span class="f_Bulletlist1">Right-click on the element in the diagram or </span><span class="f_UIControl">Project Browser</span><span class="f_Bulletlist1"> and select the </span><span class="f_MenuKeyField">BPEL | BPEL Properties</span><span class="f_Bulletlist1"> menu option.</span></li>
</ul>




            </div>
          </div>
        </div>



</div>


</body>
</html>
